package com.yyp.dao;

import java.io.Serializable;
import java.util.List;

import com.yyp.bean.CompanyInfo;

public interface CompanyInfoDao {

	public abstract void delete(Serializable names);

	public abstract void delete(Integer id);

	public abstract CompanyInfo find(Integer id);

	public abstract CompanyInfo find(String name);

	public abstract void save(Object entity);

	public abstract List<CompanyInfo> findAll();

	public abstract void updata(Object entity);

}